home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Q: How to get System Key Code?
- Date: 8 Mar 1996 09:29:13 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4hpqp9INN4n8@keats.ugrad.cs.ubc.ca>
- References: <4hom06$1um@usenet.hana.nm.kr>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4hom06$1um@usenet.hana.nm.kr>,
- SeongTae Kwag <kst@juliet.kci.co.kr> wrote:
- >I work on SUN sparc 20 with Solaris 2.x.
- >I need to know the value of Right Control keycode to continue
- >my work. I have tried to read it using "kb" module, but
- >failed. I can't know what must be done to read this value.
- >Please, help me read this system keycode.
-
- What does this have to do with the C language?
-
- If you are working with curses, there may be a way to read that value as a
- special curses code. If you are working with X, use the ``xev'' program to find
- out the keysym/keycode value generated by the keystroke.
-
- Run ``xev'', put the mouse into its little window and then hit the key, and
- read the output in the terminal whence you launched xev.
- --
-
-